/*
 * @Description: 工单管理
 * @Version: V1.0.0
 * @Autor: CHY
 * @Date: 2022-03-29 20:04:19
 * @LastEditors: CHY
 * @LastEditTime: 2022-03-31 10:21:29
 */

import OrderList from '../views/workOrder/orderList'
import MyStart from '../views/workOrder/myStart'
import MyJoin from '../views/workOrder/myJoin'
import NewAddOrder from '../views/workOrder/addOrder'
// import WorkOrderContainer from '../views/workOrder'
const WorkOrder=[
     {
        path: '/workOrder',
        title: '工单管理',
        // element: <WorkOrderContainer />,
        children:[
            {
                path:'/workOrder/orderList',
                title:'工单列表',
                element:<OrderList/>
            },
            {
                path:'/workOrder/myStart',
                title:'我发起的',
                element:<MyStart/>
            },
            {
                path:'/workOrder/myJoin',
                title:'我参加的',
                element:<MyJoin/>
            },
            {
                path:'/workOrder/newAddOrder',
                title:'新增工单',
                element:<NewAddOrder/>
            }
        ]
    } 
]
export default WorkOrder